<div>
  <AssignUserForm
    @model={{this.model}}
    @onSubmit={{this.assign}}
    @formApi={{this.formApi}}
  />
</div>

<div>
  <DButton
    class="btn-primary"
    @action={{this.formApi.submit}}
    @label={{if
      this.model.reassign
      "discourse_assign.reassign.title"
      "discourse_assign.assign_modal.assign"
    }}
  />
</div>